package ch.ivy.demo.util;

import javax.faces.context.FacesContext;
import javax.faces.event.MethodExpressionActionListener;

import org.codehaus.annogen.generate.internal.joust.ExpressionFactory;
import org.primefaces.model.DefaultMenuModel;
import javax.faces.application.FacesMessage;  
import org.primefaces.component.menuitem.MenuItem;  
import org.primefaces.component.submenu.Submenu;  
import org.primefaces.model.MenuModel;  
import javax.faces.application.Application;
import sun.tools.tree.MethodExpression;
import javax.faces.el.*;

public class CommonUtil {
	/*public static MethodExpressionActionListener createActionListener(String actionListenerExpression) {
	    FacesContext context = FacesContext.getCurrentInstance();
	  
	    return new MethodExpressionActionListener(context.getApplication().getExpressionFactory()
	        .createMethodExpression(context.getELContext(), actionListenerExpression, null, new Class[] {ActionEvent.class}));
	}*/
}
